package com.hehua.BridagePatternTwo;

/**
 * 抽象图像类,充当抽象类
 */
public abstract class Image {
    protected ImageImp imp;

    //注入实现类接口对象
    public void setImageImpl(ImageImp impl){
        this.imp = impl;
    }

    public abstract void parseFile(String fileName);
}
